package com.hzyb.oldpack.dao;

import com.hzyb.oldpack.model.HzybConfig;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;
import java.util.List;

@Repository
@Transactional(rollbackOn = Exception.class)
public interface HzybConfigDao extends CrudRepository<HzybConfig, String> {

    List<HzybConfig> findByAppid(String appid);

}
